import numpy as np

a = np.array([1, 2, 4, 3, 8])
print(a.size)
print(a[0], a[1], a[2], a[-1])